home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / unix / volume24 / chemtab / part03 < prev    next >
Encoding:
Internet Message Format  |  1991-03-12  |  4.4 KB

  1. Subject:  v24i038:  Manipulate data on the chemical elements, Part03/03
  2. Newsgroups: comp.sources.unix
  3. Approved: rsalz@uunet.UU.NET
  4. X-Checksum-Snefru: e152dfcf 4f82b1f9 9d781185 071cd639
  5.  
  6. Submitted-by: "J.E. King" <jek5036@ultb.isc.rit.edu>
  7. Posting-number: Volume 24, Issue 38
  8. Archive-name: chemtab/part03
  9.  
  10. #! /bin/sh
  11. # This is a shell archive.  Remove anything before this line, then feed it
  12. # into a shell via "sh file" or similar.  To overwrite existing files,
  13. # type "sh file -c".
  14. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  15. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  16. # Contents:  closevalues doregisgph.c.rej undefs.h windows.h
  17. # Wrapped by rsalz@litchi.bbn.com on Wed Mar 13 13:55:20 1991
  18. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  19. echo If this archive is complete, you will see the following message:
  20. echo '          "shar: End of archive 3 (of 3)."'
  21. if test -f 'closevalues' -a "${1}" != "-c" ; then 
  22.   echo shar: Will not clobber existing file \"'closevalues'\"
  23. else
  24.   echo shar: Extracting \"'closevalues'\" \(461 characters\)
  25.   sed "s/^X//" >'closevalues' <<'END_OF_FILE'
  26. X# These are the 'close values'  When selecting characteristics, you can choose
  27. X# 'close to' and the value was to be within this range from the value you type
  28. XLEAVE_THIS_ONE 000.00
  29. XAtomic_Number 005.00
  30. XAtomic_Mass 010.00
  31. XFamily 001.00
  32. XRow 001.00
  33. XValence_Electro 001.00
  34. XMelting_Tempera 100.00
  35. XBoiling_Tempera 100.00
  36. XIonization_Ener 025.00
  37. XDiscovery_Year 050.00
  38. XElectronegativi 000.20
  39. XSpecific_Heat 000.05
  40. XDensity 000.20
  41. XAtomic_Radius 000.05
  42. XLEAVE_THIS_ONE 000.00
  43. END_OF_FILE
  44.   if test 461 -ne `wc -c <'closevalues'`; then
  45.     echo shar: \"'closevalues'\" unpacked with wrong size!
  46.   fi
  47.   # end of 'closevalues'
  48. fi
  49. if test -f 'doregisgph.c.rej' -a "${1}" != "-c" ; then 
  50.   echo shar: Will not clobber existing file \"'doregisgph.c.rej'\"
  51. else
  52.   echo shar: Extracting \"'doregisgph.c.rej'\" \(360 characters\)
  53.   sed "s/^X//" >'doregisgph.c.rej' <<'END_OF_FILE'
  54. X***************
  55. X*** 322,328 ****
  56. X      }
  57. X  
  58. X      firstup++;
  59. X  if (gtot <= 0) {
  60. X          for (tmp = e; tmp->next != NULL; tmp = tmp->next) {
  61. X              find(c1, tmp->anum);
  62. X              if (x == -999.0) continue;
  63. X--- 322,328 ----
  64. X      }
  65. X  
  66. X      firstup++;
  67. X!     if (gtot > 0) {
  68. X          for (tmp = e; tmp->next != NULL; tmp = tmp->next) {
  69. X              find(c1, tmp->anum);
  70. X              if (x == -999.0) continue;
  71. END_OF_FILE
  72.   if test 360 -ne `wc -c <'doregisgph.c.rej'`; then
  73.     echo shar: \"'doregisgph.c.rej'\" unpacked with wrong size!
  74.   fi
  75.   # end of 'doregisgph.c.rej'
  76. fi
  77. if test -f 'undefs.h' -a "${1}" != "-c" ; then 
  78.   echo shar: Will not clobber existing file \"'undefs.h'\"
  79. else
  80.   echo shar: Extracting \"'undefs.h'\" \(448 characters\)
  81.   sed "s/^X//" >'undefs.h' <<'END_OF_FILE'
  82. X/*
  83. X * chemtab - a periodic table data base 1990 Jim King (pulsar@lsrhs)
  84. X *
  85. X * undefs.h - carries all the numbers for undefined vars throughout
  86. X */
  87. X
  88. Xstatic int    VAL = 9,
  89. X        MEL = -273,
  90. X        BOI = -273,
  91. X        FIO = -1,
  92. X        YEA = -1;
  93. Xstatic float    ENG = -1.5,
  94. X        SPHT = -1.5,
  95. X        DENS = -1.5,
  96. X        ARD = -1.5;
  97. X    
  98. X/* Close values */
  99. Xextern float    closev[15]; /* = {
  100. X    0.00, 5.00, 10.00, 1.00, 1.00, 1.00, 100.00, 100.00, 25.00, 50.00,
  101. X    0.20, 0.05, 0.20, 0.05, 0.00
  102. X}; */
  103. END_OF_FILE
  104.   if test 448 -ne `wc -c <'undefs.h'`; then
  105.     echo shar: \"'undefs.h'\" unpacked with wrong size!
  106.   fi
  107.   # end of 'undefs.h'
  108. fi
  109. if test -f 'windows.h' -a "${1}" != "-c" ; then 
  110.   echo shar: Will not clobber existing file \"'windows.h'\"
  111. else
  112.   echo shar: Extracting \"'windows.h'\" \(331 characters\)
  113.   sed "s/^X//" >'windows.h' <<'END_OF_FILE'
  114. X/*
  115. X * chemtab - a periodic table data base (C) 1990 Jim King (pulsar@lsrhs)
  116. X *
  117. X * windows.h    Curses WINDOW init
  118. X */
  119. X
  120. X#include <curses.h>
  121. X
  122. XWINDOW    *srt,                /* Sort chrst window */
  123. X    *graph,                /* Graph/table Window */
  124. X    *mn,                /* Main Window */
  125. X    *btm,                /* Bottom line */
  126. X    *hlp,                /* Help screen */
  127. X    *cur;                /* Stop job handling */
  128. END_OF_FILE
  129.   if test 331 -ne `wc -c <'windows.h'`; then
  130.     echo shar: \"'windows.h'\" unpacked with wrong size!
  131.   fi
  132.   # end of 'windows.h'
  133. fi
  134. echo shar: End of archive 3 \(of 3\).
  135. cp /dev/null ark3isdone
  136. MISSING=""
  137. for I in 1 2 3 ; do
  138.     if test ! -f ark${I}isdone ; then
  139.     MISSING="${MISSING} ${I}"
  140.     fi
  141. done
  142. if test "${MISSING}" = "" ; then
  143.     echo You have unpacked all 3 archives.
  144.     rm -f ark[1-9]isdone
  145. else
  146.     echo You still must unpack the following archives:
  147.     echo "        " ${MISSING}
  148. fi
  149. exit 0
  150. exit 0 # Just in case...
  151.